import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//UI组件库
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false

// axios请求
import request from "./api/index";
Vue.prototype.$request = request;

// 全局变量
import { global } from './utils/global'
Vue.prototype.$global = global;
console.log(`%c ${process.env.VUE_APP_NAME}/2022.04.14 `, 'background:#faa61a;color:#fff;border-radius: 3px;font-size:20px')
console.log(process.env)

//全局样式
import '../globalStyle.css'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
